package com.qf.springwork.dao;

import com.qf.springwork.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    User selectById(@Param("id") Integer id);

    int insertAll(@Param("users") List<User> user);

    List<User> selectAll(@Param("start") Integer start,@Param("page") Integer page);
}
